<?php

namespace app\index\validate;

use app\common\validate\BaseValidate;

class RegisterValidate extends BaseValidate
{
    protected $rule = [
        "tel|手机" => 'require',
        "code|验证码" => 'require',
        "nick|姓名" => 'require',
        "password|密码" => 'require|confirm',
    ];
    
    protected $message = [
    ];
    
    
    protected $scene = [
        "register" => ["tel","code","nick","password"],
    ];
}